package org.example.factory.support;

import org.example.core.io.Resource;
import org.example.core.io.ResourceLoader;
import org.example.exception.BeansException;

/**
 * @Author: luyg
 * @Date: 2024/09/06/13:07
 * @Description:
 */
public interface BeanDefinitionReader {


    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws BeansException;

    void loadBeanDefinitions(String... resources) throws BeansException;

    void loadBeanDefinitions(String location) throws BeansException;
}
